package cn.sherer.beans.weixin;

import java.util.List;
import java.util.ArrayList;

/**
 * 微信订阅消息模板列表结果
 */
public class WxSubscribeTemplateResult extends WxResult {
    private List<WxSubscribeTemplate> data;

    public WxSubscribeTemplateResult() {
    }

    public WxSubscribeTemplateResult(int errcode, String errmsg) {
        super(errcode, errmsg);
    }

    public List<WxSubscribeTemplate> getData() {
        return data == null ? new ArrayList<>() : data;
    }

    public void setData(List<WxSubscribeTemplate> data) {
        this.data = data;
    }
}
